//
//  LoginHttpTools.h
//  Village
//
//  Created by 程虎 on 2017/9/25.
//  Copyright © 2017年 程虎. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LoginHttpTools : NSObject

/**
 登录
 */
+ (void)LoginWithName:(NSString *)nameStr WithPW:(NSString *)pwStr WithTypes:(NSInteger )types Success:(void (^)(NSDictionary *valueDict))success failure:(void (^)(NSString *error))failure;

/**
 第三方登录
 */
+ (void)LoginWithThirdPartyWithQQID:(NSString *)QQID WithWXID:(NSString *)WXID Success:(void (^)(NSDictionary *valueDict))success failure:(void (^)(NSString *error))failure;

/**
 第三方登录绑定
 */
+ (void)AccountBindWithQQID:(NSString *)QQID WithWXID:(NSString *)WXID Success:(void (^)(NSDictionary *valueDict))success failure:(void (^)(NSString *error))failure;
@end
